use "appf.dta"

* Table 9
pwcorr lnpages lnreports, sig
pwcorr lnpages lndeadlines, sig
pwcorr lnpages lnreprogramming, sig
pwcorr lnpages lnstudy, sig
pwcorr lnpages lnconsultation, sig
pwcorr total lnpages, sig
pwcorr con_score lnpages, sig

* Table 10
reg lnpages lnreports i.unit i.afe, cluster(unit)
reg lnpages lndeadlines i.unit i.afe, cluster(unit)
reg lnpages lnreprogramming i.unit i.afe, cluster(unit)
reg lnpages lnstudy i.unit i.afe, cluster(unit)
reg lnpages lnconsultation i.unit i.afe, cluster(unit)
reg lnpages total i.unit i.afe, cluster(unit)
reg lnpages con_score i.unit i.afe, cluster(unit)
